//
//  Fraction.h
//  02-Fraction
//
//  Created by mafeng on 16/7/6.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Fraction : NSObject
@property (assign, nonatomic)NSInteger numberator;
@property (assign, nonatomic)NSInteger denominator;
- (instancetype)initWithnumberator:(NSInteger)numberator
                       denominator:(NSInteger)denominator;
+ (instancetype)fractionWithnumberator:(NSInteger)numberator
                           denominator:(NSInteger)denominator;
- (Fraction *)addfraction:(Fraction *)fraction;
- (Fraction *)multiplyfraction:(Fraction *)fraction;
- (Fraction *)reductfraction;
@end
